﻿<div class="weui-tabbar">
    <div class="weui-tabbar__item  @(ViewBag.MCode=="tip"?"weui-bar__item_on":"") " data-name="tip">
        <div style="display: inline-block; position: relative;">
            <img src="~/Content/images/hui.png" alt="" class="weui-tabbar__icon" />
            @*<img src="./images/icon_tabbar.png" alt="" class="weui-tabbar__icon">*@
            @if (ViewBag.NewPostCount != 0)
            {
            <span class="weui-badge" style="position: absolute; top: -2px; right: -13px;">@ViewBag.NewPostCount</span>
            }
        </div>
        <p class="weui-tabbar__label">线报</p>
    </div>
    <div class="weui-tabbar__item  @(ViewBag.MCode=="subject"?"weui-bar__item_on":"")" data-name="subject" >
        <img src="~/Content/images/ji.png" alt="" class="weui-tabbar__icon" />
        <p class="weui-tabbar__label">优惠</p>
    </div>
    <div class="weui-tabbar__item  @(ViewBag.MCode=="nine"?"weui-bar__item_on":"")" data-name="nine" >
        <div style="display: inline-block; position: relative;">
            <img src="~/Content/images/xian.png" alt="" class="weui-tabbar__icon" />
            <span class="weui-badge weui-badge_dot" style="position: absolute; top: 0; right: -6px;"></span>
        </div>
        <p class="weui-tabbar__label">9块9</p>
    </div>
    <div class="weui-tabbar__item @(ViewBag.MCode=="more"?"weui-bar__item_on":"") " data-name="more" >
        <img src="~/Content/images/bao.png" alt="" class="weui-tabbar__icon" />
        <p class="weui-tabbar__label">更多</p>
    </div>
</div>